package com.team.kaidb.act;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;

import com.team.kaidb.BaseActivity;
import com.team.kaidb.R;
import com.team.kaidb.utils.TextLabel;

import butterknife.InjectView;
import butterknife.OnClick;

/**
 * 撤销成功界面
 */
public class ActivityCancelSuccess extends BaseActivity {

    @InjectView(R.id.textView_label)
    TextView tv_label;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);


        tv_label.setText(TextLabel.getInstance().getSuccessText());
    }

    @Override
    public int getLayoutId() {
        return R.layout.act_cancel_success_lay;
    }

    @OnClick(R.id.button_cancel)
    void cancel_click(){
        this.finish();
    }


}
